﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Schedule.Cron.CronExpressions
{
    public enum CronFieldKind
    {
        /// <summary>
        /// 秒
        /// </summary>
        Second = 0,
        /// <summary>
        /// 分钟
        /// </summary>
        Minute = 1,
        /// <summary>
        /// 小时
        /// </summary>
        Hour = 2,
        /// <summary>
        /// 天
        /// </summary>
        Day = 3,
        /// <summary>
        /// 月
        /// </summary>
        Month = 4,
        /// <summary>
        /// 星期
        /// </summary>
        DayOfWeek = 5,
        /// <summary>
        /// 年
        /// </summary>
        Year = 6,
        /// <summary>
        /// 工作日
        /// </summary>
        Workday = 7
    }
}
